<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>trait JavaIO in sbinary</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.2.final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../sbinary$package.html" target="_self">sbinary</a>
        <br></br>
        <span class="entity">trait  JavaIO</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="sbinary/JavaIO"><code>sbinary/JavaIO.scala</code></a>]
      </div><hr></hr>
      <a name="JavaIO"></a><dl>
      <dt>
        
        <code></code>
        <code>trait</code>
        <em>JavaIO</em>
      </dt>
      <dd><code> extends </code><a href="../sbinary/IO.html" target="_self">IO</a></dd>
    </dl><dl>
      <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt>
      <dd><a href="../sbinary/JavaIOProtocol.html" target="_self">JavaIOProtocol</a></dd>
      </dl><hr></hr>
      
<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Type Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> type</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#Input" target="_self">Input</a></em>
        
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> type</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#Output" target="_self">Output</a></em>
        
        
        
      </td>
    </tr>
      </table>

<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#readByte%28JavaIO.this.Input%29" target="_self">readByte</a></em>
        (<em>in</em> : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>
        
        <div>Read a byte. If we have come to the end of the stream, throws EOF.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>override def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#readTo%28JavaIO.this.Input%2CArray%5BByte%5D%2CInt%2CInt%29" target="_self">readTo</a></em>
        (<em>in</em> : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>, <em>target</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>], <em>offset</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>override def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#writeAll%28JavaIO.this.Output%2CArray%5BByte%5D%2CInt%2CInt%29" target="_self">writeAll</a></em>
        (<em>out</em> : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>, <em>source</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>], <em>offset</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/JavaIO.html#writeByte%28JavaIO.this.Output%2CByte%29" target="_self">writeByte</a></em>
        (<em>out</em> : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>, <em>value</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="../sbinary/IO.html" target="_self">IO</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="../sbinary/IO.html#eof" target="_self">eof</a>, <a href="../sbinary/IO.html#readTo%28IO.this.Input%2CArray%5BByte%5D%29" target="_self">readTo</a>, <a href="../sbinary/IO.html#readFully%28IO.this.Input%2CArray%5BByte%5D%2CInt%2CInt%29" target="_self">readFully</a>, <a href="../sbinary/IO.html#readFully%28IO.this.Input%2CArray%5BByte%5D%29" target="_self">readFully</a>, <a href="../sbinary/IO.html#writeAll%28IO.this.Output%2CArray%5BByte%5D%29" target="_self">writeAll</a>, <a href="../sbinary/IO.html#flush%28IO.this.Output%29" target="_self">flush</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>


      
<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Type Details</td></tr>
        </table><div><a name="Input"></a><dl>
      <dt>
        
        <code></code>
        <code>type</code>
        <em>Input</em>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="Output"></a><dl>
      <dt>
        
        <code></code>
        <code>type</code>
        <em>Output</em>
      </dt>
      <dd></dd>
    </dl><hr></hr></div>

<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="readByte%28JavaIO.this.Input%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>readByte</em>(<em>in</em> : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Read a byte. If we have come to the end of the stream, throws EOF.</dd></dl>
      <dl></dl>
    <dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../sbinary/IO.html" target="_self">IO</a>.<a href="../sbinary/IO.html#readByte%28IO.this.Input%29" target="_self">readByte</a>
        </dd>
      </dl><hr></hr>
<a name="readTo%28JavaIO.this.Input%2CArray%5BByte%5D%2CInt%2CInt%29"></a><dl>
      <dt>
        
        <code>override</code>
        <code>def</code>
        <em>readTo</em>(<em>in</em> : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>, <em>target</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>], <em>offset</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../sbinary/IO.html" target="_self">IO</a>.<a href="../sbinary/IO.html#readTo%28IO.this.Input%2CArray%5BByte%5D%2CInt%2CInt%29" target="_self">readTo</a>
        </dd>
      </dl><hr></hr>
<a name="writeByte%28JavaIO.this.Output%2CByte%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>writeByte</em>(<em>out</em> : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>, <em>value</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../sbinary/IO.html" target="_self">IO</a>.<a href="../sbinary/IO.html#writeByte%28IO.this.Output%2CByte%29" target="_self">writeByte</a>
        </dd>
      </dl><hr></hr>
<a name="writeAll%28JavaIO.this.Output%2CArray%5BByte%5D%2CInt%2CInt%29"></a><dl>
      <dt>
        
        <code>override</code>
        <code>def</code>
        <em>writeAll</em>(<em>out</em> : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>, <em>source</em> : <a href="" target="contentFrame" class="scala/Array">scala.Array</a>[<a href="http://www.scala-lang.org/docu/files/api/scala/Byte.html" target="_self">Byte</a>], <em>offset</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>length</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../sbinary/IO.html" target="_self">IO</a>.<a href="../sbinary/IO.html#writeAll%28IO.this.Output%2CArray%5BByte%5D%2CInt%2CInt%29" target="_self">writeAll</a>
        </dd>
      </dl><hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>